package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.GoodsBean;

import java.time.LocalDate;

public interface IGoodsService {
    public void add(GoodsBean goodsBean);
    public void del(Integer id);
    public void update(Integer id,Integer price);
    public GoodsBean findById(Integer id);
    public IPage<GoodsBean> findByItem(Integer pageNO,
           String name, LocalDate startDate,LocalDate endDate);
}
